* {
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(47, 90, 43);
}

ul {
    list-style: none;
}

ul .daohang {
    text-decoration: none;
    font-weight: 600;
}

.nav li {
    float: right;
    height: 50px;
    font: 25px/33px '微软雅黑';
}

.logo {
    position: absolute;
    left: 80px;
}

header {
    display: block;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: 5;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 4px 0px;
    background-color: rgba(4, 17, 4, 0.319);
}

header a {
    color: aliceblue;
    text-decoration: none;
    display: block;
    padding: 9px 50px;
}

header a:hover {
    background-color: rgb(0 0 0 / 25%);
    padding: 9px 50px;
}

video {
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.yinyue {
    height: 44px;
    width: 44px;
    margin-top: 3px;
    margin-left: 5px;
    display: inline-block;
}

audio {
    display: none;
    position: absolute;
    top: 2px;
    left: 2px;
}

.yinyue:hover #media {
    display: block;
}

.rotate {
    cursor: pointer;
    animation: rotate 10s linear infinite;
}

div audio:hover {
    animation-play-state: paused;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.zongbiao {
    color: rgb(183, 230, 184);
    font: 700 80px '微软雅黑';
    text-shadow: 5px 5px 3px rgb(10 60 22);
    position: absolute;
    top: 60px;
    left: 595px;
}

.bigbox {
    width: 100%;
    position: absolute;
    top: 250px;
}

.container {
    border: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card {
    position: relative;
    width: 270px;
    height: 326px;
    margin: 40px;
    display: flex;
    align-items: flex-end;
    text-align: center;
    color: #f5f5f5;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1),
        0 2px 2px rgba(0, 0, 0, .1),
        0 4px 4px rgba(0, 0, 0, .1),
        0 8px 8px rgba(0, 0, 0, .1),
        0 16px 16px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.card::before {
    content: "";
    width: 100%;
    height: 110%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../ziliao/zhaopian/qingnianquanshi.png);
    background-size: cover;
    background-position: 0 0;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

.card:nth-child(1)::before {
    background-image: url(ziliao/滨海旅行团.png);
}

.card:nth-child(2)::before {
    background-image: url(ziliao/深海危机1.jpg);
}

.card:nth-child(3)::before {
    background-image: url(ziliao/减塑.jpg);
}

.card:nth-child(4)::before {
    background-image: url(ziliao/山林.jpg);
}

.card::after {
    content: "";
    display: block;
    width: 100%;
    height: 210%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, .3) 0%,
            rgba(0, 0, 0, .5) 55%,
            rgba(0, 0, 0, .9) 100%);
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(70%);
    transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.card .content {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    padding: 30px 8px;
    transform: translateY(83%);
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.content {
    height: 40%;
}

.card h2 {
    font-size: 23px;
    font-weight: bold;
}

.card p {
    font-size: 15px;
    letter-spacing: 2px;
    width: 100%;
    line-height: 30px;
    margin-top: 25px;
    text-align: center;
}

.card button {
    cursor: pointer;
    border: none;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 50px;
}

.card button:hover {
    background-color: black;
}

/*.card .content *:not(h2) {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}*/

.card:hover {
    align-items: center;
}

.card:hover::before {
    transform: translateY(-5%);
}

.card:hover::after {
    transform: translateY(-50%);
}

.card:hover .content {
    transform: translateY(0);
}

/*.card:hover .content *:not(h2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}*/

.shengming {
    position: absolute;
    top: 1000px;
    left: 650px;
    text-align: center;
    line-height: 20px;
}